﻿<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution solutionVersion="1.0.0.15" PIVersion="1.0.0.0" name="urn:schemas-microsoft-com:office:infopath:PSH-Help:" productVersion="14.0.0" href="file:///C:\Users\Jamesone\Documents\windowsPowershell\PSH-Help.xsn" ?><?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.2"?><helpItems schema="maml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-07-13T15:24:29" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xml:lang="en-gb">
<command:command><command:details><command:name>Add-VMDisk</command:name><maml:description><maml:para>Adds a disk image to a VM, mounting it in a drive.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Add</command:verb><command:noun>VMDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Mounts a disk (usually a VHD file, but also an ISO file or the pass-through path to an optical disk)
into an drive on a VM. If the drive does not already exist, it will be created.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Path</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s). 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The disk to insert in the drive, this may be:
a script block which is evaluated to give the path to an image or CD device 
a string object containing the path to an image or local CD device, 
or a file object representing a disk image (.iso or .vhd) file.
Has aliases "VHDPath","ISOPath" and "Fullname".</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards cannot be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>OpticalDrive</maml:name><maml:description><maml:para>If specified indicates that a DVD drive is intended, if not specified then a hard disk is assumed
Has an alias of "DVD".</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended, if not specified then IDE is assumed.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        
    <command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Drive</maml:name>
        
        
        
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The disk to insert in the drive, this may be:
a script block which is evaluated to give the path to an image or CD device 
a string object containing the path to an image or local CD device, 
or a file object representing a disk image (.iso or .vhd) file.
Has aliases "VHDPath","ISOPath" and "Fullname".</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false"><maml:name>DriveRASD</maml:name><maml:description><maml:para>A Resource Allocation Setting Data object representing the drive into which the disk image should be mounted. 
This can be passed instead of identifying the VM, Controller Type, ID, and LUN for the drive.</maml:para></maml:description><dev:type><maml:name>System.Management.ManagementObject</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>OpticalDrive</maml:name><maml:description><maml:para>If specified indicates that a DVD drive is intended, if not specified then a hard disk is assumed.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s).
This may be a WMI object representing a VM, a string object containing the name of a VM (or a wildcard which matches multiple VMs),
 or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified, 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The disk to insert in the drive, this may be:
a script block which is evaluated to give the path to an image or CD device 
a string object containing the path to an image or local CD device, 
or a file object representing a disk image (.iso or .vhd) file.
Has aliases "VHDPath","ISOPath" and "Fullname".</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended, if not specified then IDE is assumed.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
										<maml:name>DriveRasd</maml:name>
										<maml:description>
											<maml:para>A Resource Allocation Setting Data object representing the drive into which the disk image should be mounted. 
This can be passed instead of identifying the VM, Controller Type, ID, and LUN for the drive.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>System.Management.ManagementObject</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>OpticalDrive</maml:name><maml:description><maml:para>If specified indicates that a DVD drive is intended, if not specified then a hard disk is assumed.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter><command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        
        
        <command:parameter globbing="false" variableLength="" position="9" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Add-VMDisk.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The newly created disk image object.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMDisk $tenby 0 1 "C:\update.iso" -optical</dev:code>
										<dev:remarks>
											<maml:para>Adds a DVD image C:\update.iso, to disk 1, controller 0 on the VM whose info is in $tenby.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>---- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMDisk $tenby 0 0 ((get-VHDdefaultPath) +"\tenby.VHD")</dev:code>
										<dev:remarks>
											<maml:para>Adds a virtual hard disk named tenby.VHD in the Default folder ,
to disk 0, controller 0 on the VM whose info is in $tenby. 
If a name is passed with no path the Default VHD Path will be added so this command could be written more simply.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>---- Example 3 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMDisk $tenby -Controller 0 -lun 0 "tenby.VHD"</dev:code>
										<dev:remarks>
											<maml:para>A better version of example 2.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>---- Example 4 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VM "Core*" | Add-VMDisk -path {$_.ElementName +".VHD"}</dev:code>
										<dev:remarks>
											<maml:para>Gets all the virtual machines with names being with "CORE". 
For each one a hard disk is added to IDE controller 0, LUN 0. 
The VHD files are in the Default folder, and share their name with the VM.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command><command:details><command:name>Add-VMDrive</command:name><maml:description><maml:para>Adds a drive to a controller on the specified VM.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Add</command:verb><command:noun>VMDrive</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Adds a drive (either a DVD or Hard disk drive) to the specified LUN slot
on the specified IDE controller of a VM.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Path</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s).
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller. 
If not specified, controller 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller. 
If not specified LUN 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>OpticalDrive</maml:name><maml:description><maml:para>If specified indicates that a DVD drive is intended, if not specified a hard disk is assumed. 
Has an alias of "DVD".</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended, if not specified IDE is assumed.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem><command:syntaxItem><maml:name>Drive</maml:name>
        
        
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller. 
If not specified LUN 0 is used.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
									<maml:name>ControllerRASD</maml:name>
									<maml:description>
										<maml:para>A resource allocation setting data object representing the controller to which the disk should be attached.
This can be used instead of identifying a VM, and then a controller type and number.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name>System.Management.ManagementObject</maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>OpticalDrive</maml:name><maml:description><maml:para>If specified indicates that a DVD drive is intended, if not specified a hard disk is assumed.
Has an alias of "DVD".</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s).
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller. 
If not specified, controller 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified, controller 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
										<maml:name>ControllerRASD</maml:name>
										<maml:description>
											<maml:para>A resource allocation setting data object representing the controller to which the disk should be attached. 
This can be used instead of identifying a VM, and then a controller type and number.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>OpticalDrive</maml:name><maml:description><maml:para>If specified indicates that a DVD drive is intended, if not specified a hard disk is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended, if not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Add-VMDrive.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The Newly created drive.</maml:para></maml:description></command:returnValue></command:returnValues>
<maml:alertSet>
									
								</maml:alertSet><command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code> Add-VMDRIVE "tenby" 1 1 -server james-2008 </dev:code>
										<dev:remarks>
											<maml:para> Adds a virtual DVD to IDE controller 1, disk slot 1 on the VM named Tenby on Server James-2008.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMDRIVE $tenby 0 3 -SCSI </dev:code>
										<dev:remarks>
											<maml:para>Adds a Virtual Hard Disk drive to SCSI controller 0, LUN 3 on the VM whose info is in $tenby.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 3 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code> Get-VM Core-% | Add-VMDRIVE -controllerID 0 -lun 1 -DVD</dev:code>
										<dev:remarks>
											<maml:para>Adds a DVD drive to  IDE controller 0, disk slot 1 on all the VMs on the local server whose name begins with CORE-.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command><command:details><command:name>Add-VMFloppyDisk</command:name><maml:description><maml:para>Adds a floppy disk to a VM.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Add</command:verb><command:noun>VMFloppyDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>HyperV VMs are created a single floppy drive. Add-VMFloppyDisk mounts a 
virtual Floppy disk (VFD) image file in the drive.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Add-VMFloppyDisk</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s).
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The path to the VFD file to mount in the Floppy drive. 
This may be a string which holds the path to the VFD file,
a script block which is evaluated to give the path of the VFD file. 
or a System.Io.FileInfo object representing the file.
If the .VFD extension is missing from the path it will be added.
If the path is a file name, the server's default VHD folder (not the current directory) will be used.
Has an Alias of VFDpath.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s).
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The path to the VFD file to mount in the Floppy drive. 
This may be a string which holds the path to the VFD file,
a script block which is evaluated to give the path of the VFD file. 
or a System.Io.FileInfo object representing the file.
If the .VFD extension is missing from the path it will be added.
If the path is a file name, the server's default VHD folder (not the current directory) will be used.
Has an Alias of VFDpath.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Add-VMFloppyDisk.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The newly created floppy disk image object.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>add-VMFloppyDisk $core "C:\Users\Public\Documents\Microsoft Hyper-V\Blank Floppy Disk\blank.VFD"  </dev:code>
										<dev:remarks>
											<maml:para>Adds a floppy disk to the machine Pointed to by $Core , the VFD being Blank.vfd.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VM "Core*" | add-VMFloppyDisk -path {$_.elementName}</dev:code>
										<dev:remarks>
											<maml:para>Gets all VMs with names which start "core" and adds a floppy disk to them.
The VFD files be located in the default and will have the same names as the  VMs.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command><command:details><command:name>Add-VMNewHardDisk</command:name><maml:description><maml:para>Creates and attaches a new Virtual Hard Disk in one command.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Add</command:verb><command:noun>VMNewHardDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Add-VMNewHardDisk combines New-VHD, Add-VMDrive and Add-VMDisk.
It calls NEW-VHD with ParentDisk, Size, Fixed, VHDPath and Server parameters. 
If no VHDPath is passed the VHD is created in the default folder 
using a name which matches the VM.  
It then calls Add-VMDrive with the Server, VM, SCSI, Controller and LUN
 parameters to create the drive 
Finally it calls Add-VMDisk with VM, controllerID, Lun, VHDPath, Server and SCSI parameters. 
Note that the function assumes that the controller exists.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Add-VMNewHardDisk</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s). 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>LUN</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller. 
If not Specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        
        
        
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>VHDPath</maml:name><maml:description><maml:para>The path to the VHD file. 
If not specified the name of the VM will be used.
If a script block is passed it will be evaluated to determine the path.
If the .VHD file extension is omitted it will be added 
and if only a file name is passed the server’s default VHD folder 
(not the current working directory) will be assumed.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Size</maml:name><maml:description><maml:para>The Size of the disk in bytes. 
If not specified 127GB will be used.</maml:para></maml:description><dev:type><maml:name>Long</maml:name></dev:type><dev:defaultValue>127GB</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false"><maml:name>ParentVHD</maml:name><maml:description><maml:para>To create a differencing disk the parent-disk path must be specified and the size and fixed parameters are then ignored.</maml:para></maml:description><dev:type><maml:name>string</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false"><maml:name>Fixed</maml:name><maml:description><maml:para>Indicates a fixed disk is required. 
If neither ParentVHD nor fixed are specified a dynamic VHD will be created.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="9" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended. 
If not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="10" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s)   . This may be a WMI object representing a VM, a string object containing the name of a VM (or a wildcard which matches multiple VMs), or an array containing a mixture of such objects. It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 will be used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>LUN</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified 0 will be used.
.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        
        
        
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>VHDPath</maml:name><maml:description><maml:para>The path to the VHD file. 
If not specified the name of the VM will be used.
If a script block is passed it will be evaluated to determine the path.
If the .VHD file extension is omitted it will be added 
and if only a file name is passed the server’s default VHD folder 
(not the current working directory) will be assumed.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Size</maml:name><maml:description><maml:para>The Size of the disk in bytes. 
If not specified 127GB will be used.</maml:para></maml:description><dev:type><maml:name>Long</maml:name></dev:type><dev:defaultValue>127 GB</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false"><maml:name>ParentVHD</maml:name><maml:description><maml:para>To create a differencing disk the parent-disk path must be specified and the size and fixed parameters are then ignored.</maml:para></maml:description><dev:type><maml:name>String</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false"><maml:name>Fixed</maml:name><maml:description><maml:para>Indicates a fixed disk is required. If neither ParentVHD nor fixed is specified
a dynamic VHD will be created.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="9" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended, if not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="10" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Add-VMNewHardDisk.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Objects representing the drive and disk objects and the VHD file.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMNewHardDisk -VM $VM -controllerID 0 -lun 3 -VHDpath "$(get-VHDdefaultPath)\foo31.VHD" -size 20gb -scsi </dev:code>
										<dev:remarks>
											<maml:para>Adds a 20GB dynamic disk, named foo31.VHD in the default folder,  to the VM defined in $VM, on SCSI controller 0, Lun 3.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VM "Core*" | Add-VMNewHardDisk -lun 0 -VHDpath {$_.elementName + -"os"} -size 20gb -Fixed
Get-VM "Core*" | Add-VMNewHardDisk -lun 1 -VHDpath {$_.elementName + "-Data"}  </dev:code>
										<dev:remarks>
											<maml:para>Gets all the machines with names that begin with "Core"; 
Adds two disk to each one a 20GB fixed disk on Lun 0 and a 127GB dynamic disk on Lun 1.
The disks will share the name of the VM , suffixed with "-OS" and "-Data" respectively.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command><command:details><command:name>Add-VMPassThrough</command:name><maml:description><maml:para>Connects a Passthrough disk to a VM.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Add</command:verb><command:noun>VMPassThrough</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Hyper-V allows disks which are seen as Off-line by the parent partition
to be connected to a LUN in VM, bypassing the use of VHD files.
Add-VMPassthrough makes the connection.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Add-VMPassThrough</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine to be modified. 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches a single VM). Only a single VM may be used
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified, 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="true" pipelineInput="false"><maml:name>PhysicalDisk</maml:name><maml:description><maml:para>A MsVM_DiskDrive object representing the off-line physical disk to be used.</maml:para></maml:description><dev:type><maml:name>WMI</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended.
If not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem><command:syntaxItem><maml:name>Add-VMPassThrough</maml:name>
        
        
        <command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller. 
If not Specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="true" pipelineInput="false"><maml:name>PhysicalDisk</maml:name><maml:description><maml:para>MsVM_DiskDrive object representing the off-line physical disk to be used.</maml:para></maml:description><dev:type><maml:name>WMI</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>ControllerRASD</maml:name><maml:description><maml:para>A resource allocation Setting data object representing the disk controller where the passthrough disk should be attached. 
This can be used instead of specifying the VM  controller parameters.</maml:para></maml:description><dev:type><maml:name>System.Management.ManagementObject</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine to be modified. 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches a single VM). Only a single VM may be used
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified, 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified, 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>PhysicalDisk</maml:name><maml:description><maml:para>MsVM_DiskDrive object representing the off-line physical disk to be used.</maml:para></maml:description><dev:type><maml:name>WMI</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
										<maml:name>ControllerRASD</maml:name>
										<maml:description>
											<maml:para>A resource allocation Setting data object representing the disk controller where the passthrough disk should be attached.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>WMI</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended. 
If not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Add-VMPassthrough.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The newly created disk object.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMPassThrough $VM  0  1  (Select-VMPhysicaldisk)</dev:code>
										<dev:remarks>
											<maml:para>If there are no physical disks available to Hyper-v ,
(i.e. connected and marked offline), this will do nothing. 
If there is exactly one disk that is used.
If there is more than one the user is prompted to select one.
The physical disk is bound to IDE controller 0 , Lun 1 on the VM held in $VM.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								</command:examples></command:command>
<command:command><command:details><command:name>Add-VMSCSIController</command:name><maml:description><maml:para>Adds a Synthetic SCSI controller to one or more VM(s).</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Add</command:verb><command:noun>VMSCSIController</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Adds a Synthetic SCSI controller to one or more VM(s).</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Add-VMSCSIController</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s). 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
									<maml:name>Name</maml:name>
									<maml:description>
										<maml:para>The display name for the controller. The Default name is held in the preference variable lstr_VMBusSCSILabel and can be changed.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name></maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s). 
This may be a WMI object representing a VM, a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
										<maml:name>Name</maml:name>
										<maml:description>
											<maml:para>The display name for the controller. 
The Default name is held in the preference variable lstr_VMBusSCSILabel and can be changed.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>String</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>$lstr_VMBusSCSILabel </dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Add-VMSCSIController.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The newly created SCSI controller.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMSCSIController $tenby</dev:code>
										<dev:remarks>
											<maml:para>Adds a VMBus SCSI Controller to VM whose info is in $tenby.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VM Core-% -server james-2008 | Add-VMSCSIController </dev:code>
										<dev:remarks>
											<maml:para>Adds a SCSI Controller to all VMs whose names begin CORE- on the server named "James-2008".</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command><command:details><command:name>Compress-VHD</command:name><maml:description><maml:para>Compacts one or more dynamic VHD files.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Compress</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Unused space in dynamic VHD files can be reclaimed. 
This does not affect the maximum size or the partitions and data inside the VHD.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Compress-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
 (not the current working directory) will be assumed.
On the when the command is used against the local Server, wildcards and relative paths may be used.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
On the when the command is used against the local Server, wildcards and relative paths may be used.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name>String</maml:name></dev:type><maml:description><maml:para>The path to a VHD file can be piped into Compress-VHD.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>ResultCode</maml:name></dev:type><maml:description><maml:para>An Enum indicating success, failure, or job running.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Compress-VHD   (get-VHDdefaultPath) +"\tenby.VHD"</dev:code>
										<dev:remarks>
											<maml:para>Compacts the VHD as a background job.
You can check status with Get-WmiObject -NameSpace root\virtualization msVM_storagejob | ft jobStatus, description, percentcomplete -auto.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								</command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Expand-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Merge-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Convert-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>CompactVirtualHardDisk Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136773(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Connect-VHDParent</command:name><maml:description><maml:para>Reattaches a differencing VHD to its parent.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Connect</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>If the parent of differencing disk is moved or renamed, 
the VHD must be reattached to it before it can be used. 
The parent disk must be an identical copy or the same file as the original.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Connect-VHDParent</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
									<maml:name>ParentPath</maml:name>
									<maml:description>
										<maml:para>The location of the moved or recovered parent VHD file. 
This can be a string object or a script block which is evaluated to give the name. 
It has aliases ParentPath and ParentDiskPath.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name></maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        
    <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
    <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
										<maml:name>ParentVHDPath</maml:name>
										<maml:description>
											<maml:para>The location of the moved or recovered parent VHD file. 
This can be a string object or a script block which is evaluated to give the name. 
It has aliases ParentPath and ParentDiskPath.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>The path to the broken Differencing VHD may be piped into Connect-VHDParent.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<maml:alertSet>
									
								</maml:alertSet><command:examples>
									
								</command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VHDInfo</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Test-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>ReconnectParentVirtualHardDisk Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136960(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command><command:command><command:details><command:name>Convert-VHD</command:name><maml:description><maml:para>Creates a new VHD of a different type based on an existing VHD.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Convert</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Creates a new VHD of a different type based on an existing VHD; 
for example takes a differencing disk and creates a new fixed or dynamic disk.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Convert-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
									<maml:name>DestPath</maml:name>
									<maml:description>
										<maml:para>The location where the resulting file should be saved.
This can be a string containing the path or a scriptblock which is evaluated to provide the path. 
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name></maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
									<maml:name>Type</maml:name>
									<maml:description>
										<maml:para>An enum indicating the type of VHD.
If a valid integer (2,3) or a valid string "Fixed","Dynamic" is passed,
 it will be converted to an enum.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name>VHDType</maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        
    <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
    <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
										<maml:name>DestPath</maml:name>
										<maml:description>
											<maml:para>The location where the resulting file should be saved.
This can be a string containing the path or a scriptblock which is evaluated to provide the path. 
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
										<maml:name>Type</maml:name>
										<maml:description>
											<maml:para>An enum indicating the type of VHD, if a valid integer (2,3) or
valid string "Fixed","Dynamic" is passed it will be converted to an enum.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>VHDType</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>VHDPaths may be piped into Convert-VHD.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<maml:alertSet>
									<maml:alert>
										<maml:para>Note that moving a disk type from differencing to anything else is a convert not a merge.</maml:para>
									</maml:alert>
								</maml:alertSet><command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>convert-VHD core temp -type [VHDType]::dynamic </dev:code>
										<dev:remarks>
											<maml:para>Will merge a differencing disk "CORE.VHD" in the default folder (and its parent(s) ) into a new disk called temp.VHD also in the default folder.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Convert-VHD "$( Get-VHDDefaultPath )\Temp.VHD" F:\backups\MyDisk.VHD -type [VHDType]::fixed</dev:code>
										<dev:remarks>
											<maml:para>Will convert a disk to a fixed one on a different drive.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 3 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>dir *.VHD | get-VHDinfo | where-object {$_.type -eq 3} | convert-VHD -type "Fixed" -path {$_.replace(".VHD","-FIXED.VHD")}</dev:code>
										<dev:remarks>
											<maml:para>Finds VHD files in the current folder and isolates the Dynamic ones, and converts them to fixed files with -FIXED appended to the file name.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 4 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>pushd (Get-VHDDefaultPath) ; dir *.VHD | get-VHDinfo | where-object {$_.type -eq 3} | foreach {convert-VHD $($_.path) '.\temp.VHD' -type 2 -wait ; del  $($_.path) ; ren temp.VHD $($_.path)} ; popd </dev:code>
										<dev:remarks>
											<maml:para>Move to the default VHD folder, get the VHD files, isolate the dynamic ones, 
convert them to a fixed size one named temp , delete the original , rename temp to the original name.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>New-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Merge-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>ConvertVirtualHardDisk Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136775(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Dismount-VHD</command:name><maml:description><maml:para>Dismounts a previously mounted VHD.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Dismount</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>If a valid file is provided then the VHD file at that location is dismounted using the Image Management Service.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Dismount-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the  default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the  default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>VHDPaths may be piped into Dismount-VHD.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Dismount-VHD  (get-VHDdefaultPath) +"\tenby.VHD"</dev:code>
										<dev:remarks>
											<maml:para>Dismounts the VHD.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 ----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>dir "$(Get-VHDDefaultPath)\*.VHD"  | Dismount-VHD </dev:code>
										<dev:remarks>
											<maml:para>Attempts to Dismount all the disks in the folder -
 this will fail gracefully if they are not mounted.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Mount VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Mount Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136811(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command>
									<command:details>
										<command:name>Get-VHDMountPoint</command:name>
										<maml:description>
											<maml:para>Returns the mount point for a VHD file, if it is mounted.</maml:para>
										</maml:description>
										<maml:copyright>
											<maml:para>(c) Microsoft Corporation 2009.</maml:para>
										</maml:copyright>
										<command:verb>Get</command:verb>
										<command:noun>VHDMountPoint</command:noun>
										<dev:version>2.00</dev:version>
									</command:details>
									<maml:description>
										<maml:para>Returns the mount point (drive letter) for a VHD file, if it is mounted.</maml:para>
									</maml:description>
									<command:syntax>
										<command:syntaxItem>
											<maml:name>Get-VHDMountPoint</maml:name>
											<command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true">
												<maml:name>VHDPaths</maml:name>
												<maml:description>
													<maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para>
												</maml:description>
												<command:parameterValue required="false" variableLength=""></command:parameterValue>
												<dev:type>
													<maml:name></maml:name>
													<maml:uri></maml:uri>
													<maml:description>
														<maml:para></maml:para>
													</maml:description>
												</dev:type>
												<dev:defaultValue></dev:defaultValue>
											</command:parameter>
										</command:syntaxItem>
									</command:syntax>
									<command:parameters>
										<command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true">
											<maml:name>VHDPaths</maml:name>
											<maml:description>
												<maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para>
											</maml:description>
											<command:parameterValue required="false" variableLength=""></command:parameterValue>
											<dev:type>
												<maml:name></maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<dev:defaultValue></dev:defaultValue>
										</command:parameter>
									</command:parameters>
									<command:inputTypes>
										<command:inputType>
											<dev:type>
												<maml:name></maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<maml:description>
												<maml:para>The path to a VHD can be piped into Get-VHDMountPoint.</maml:para>
											</maml:description>
										</command:inputType>
									</command:inputTypes>
									<command:returnValues>
										<command:returnValue>
											<dev:type>
												<maml:name>WMI</maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<maml:description>
												<maml:para>Win32_logicalDisk object representing the mount point.</maml:para>
											</maml:description>
										</command:returnValue>
									</command:returnValues>
									<maml:alertSet>
										<maml:title></maml:title>
										
									</maml:alertSet>
									<command:examples>
										
									</command:examples>
									<maml:relatedLinks>
										
									<maml:navigationLink>
										<maml:linkText>Mount-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>MsVM_MountedStorageImage Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc542583(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks>
								</command:command><command:command><command:details><command:name>Expand-VHD</command:name><maml:description><maml:para>Increases the size of a VHD.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Expand</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>If a valid file is provided the function attempts to extend the VHD
specified 
to the value specified in the size parameter, using the Image Management Service.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Expand-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false"><maml:name>Size</maml:name><maml:description><maml:para>The size for the disk in bytes. It must be bigger than the current size.
The Hyper-V GUI only allows whole GB to be selected, but a fraction may be used.</maml:para></maml:description><dev:type><maml:name>Long</maml:name></dev:type><dev:defaultValue>127GB</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Size</maml:name><maml:description><maml:para>The size for the disk in bytes. It must be bigger than the current size.
The Hyper-V gui only allows whole GB to be selected, but a fraction may be used.</maml:para></maml:description><dev:type><maml:name>Long</maml:name></dev:type><dev:defaultValue>127GB</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>VHDPaths may be piped into Expand VHD.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<maml:alertSet>
									<maml:alert>
										<maml:para>This will not expand the partition(s) on the disk, that needs to be done separately.</maml:para>
									</maml:alert>
								</maml:alertSet><command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Expand-VHD 'C:\users\Public\Documents\Microsoft Hyper-V\Virtual Hard Disks\Tenby.VHD' 22gb</dev:code>
										<dev:remarks>
											<maml:para>Expands the named disk to 22GB in size.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								</command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>New-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VHDInfo</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>ExpandVirtualHardDisk Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136792(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Get-VHD</command:name><maml:description><maml:para>Gets VHD files from a specified folder on a hyper-v server.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VHDDefaultPath</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Gets VHD files from a specified folder on a hyper-v server 
(by default the local server, but a remote server may be specified).
The default path for VHD files is 
“C:\users\public\documents\hyper-v\Virtual Hard Disks”

Get-VHDDefaultPath obtains the path for a given server.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server to query
By default "." , the local computer, is used. 
Only a single server may be queried.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
									<maml:name>Paths</maml:name>
									<maml:description>
										<maml:para>The folder(s) to search for VHD files on the specified server(s). 
If not specified the default VHD folder will be queried.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name>String[]</maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server to query
By default "." , the local computer, is used. 
Only a single server may be queried.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
										<maml:name>Path</maml:name>
										<maml:description>
											<maml:para>The folder to search for VHD files on the specified server(s).
 If not specified the default VHD folder will be queried.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI[]</maml:name></dev:type><maml:description><maml:para>CIM_DataFile objects representing VHD files.</maml:para></maml:description></command:returnValue></command:returnValues>
<maml:alertSet>
									<maml:alert>
										<maml:para>Other -VHD commands can accept the output of Get-VHD as piped input.</maml:para>
									</maml:alert>
								<maml:alert>
										<maml:para>In this situation the server parameter MUST be specified in the next function.</maml:para>
									</maml:alert></maml:alertSet></command:command><command:command><command:details><command:name>Get-VHDDefaultPath</command:name><maml:description><maml:para>gets the default path for Virtual Hard Disk (VHD) files.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VHDDefaultPath</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>The default path for VHD files is 
“C:\users\public\documents\hyper-v\Virtual Hard Disks”

Get-VHDDefaultPath obtains the path for a given server.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VHDDefaultPath</maml:name>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server to query
By default "." , the local computer, is used. 
Only a single server may be queried.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server to query
By default "." , the local computer, is used. 
Only a single server may be queried.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>String</maml:name></dev:type><maml:description><maml:para>The Default VHD Path.</maml:para></maml:description></command:returnValue></command:returnValues>
<maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>New-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText> MsVM_VirtualSystemManagementServiceSettingData Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136941(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Get-VHDInfo</command:name><maml:description><maml:para>Gets detailed information about one or more VHD files.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VHDInfo</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>For each VHD requested, Get-VHDInfo returns an object with the following properties
VHDPath          The path to the file,  
Path             An alternate name for VHDPath,
FileSize         The size of the file on disk 
InSavedState     Indicates whether the disk is associated with a VM in a saved state
InUse            Indicates whether the disk is mounted
MaxInternalSize  The size as seen by the virtual machine
ParentPath       The parent for a differencing disk (empty for other disks)
Type             2=”Fixed”,3=”Dynamic”,4=”Differencing”
TypeName         The type Number converted to text.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VHDInfo</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD file(s) reside(s).
By default "." , the local computer, is used. 
Only a single server may be queried.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used. 
Only a single server may be queried.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>cd (Get-VHDDefaultPath) ; dir *.VHD | get-VHDinfo</dev:code>
										<dev:remarks>
											<maml:para>Moves to the default folder for VHDs gets all the VHD files and passes them into Get-VHDInfo.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2-----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>(Get-VHDInfo 'C:\Users\Public\Documents\Microsoft Hyper-V\Virtual Hard Disks\Core.VHD').parentPath</dev:code>
										<dev:remarks>
											<maml:para>Returns the parent path of a single differencing disk.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>------ Example 3 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDisk “core%” | forEach {Get-VHDInfo $_.Diskpath} | measure-object -Sum filesize</dev:code>
										<dev:remarks>
											<maml:para>Gets all the disks on virtual machines with names beginning with CORE, gets the disk info for each one, and calculates the sum their file sizes.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VMDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>GetVirtualHardDiskInfo Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136797(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Get-VMDiskByDrive</command:name><maml:description><maml:para>Returns the disk mounted in a given drive.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VMDiskByDrive</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Returns the disk mounted in a given drive.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VMDiskByDrive</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>Drive</maml:name><maml:description><maml:para>A single MSVM_ResourceAllocationSettingData WMI object 
which represents a hard-disk drive or DVD drive 
or an array which contains these.
If an array is passed the function calls itself recursively for each item.</maml:para></maml:description><dev:type><maml:name>WMI</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Drive</maml:name><maml:description><maml:para>A single MSVM_ResourceAllocationSettingData WMI object 
which represents a hard-disk drive or DVD drive 
or an array which contains these.
If an array is passed the function calls itself recursively for each item.</maml:para></maml:description><dev:type><maml:name>WMI</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The Drive being queried may be passed via the pipeline.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The disk mounted in the drive, if any.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDiskController "Tenby" -server "James-2008" -IDE -controllerID 0 | Get-VMDriveByController | Get-VMdiskByDrive</dev:code>
										<dev:remarks>
											<maml:para>Gets the disks in the drives attached to IDE controller 0 in the VM named Tenby on Server James-2008.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>get-VMdiskByDrive $drive</dev:code>
										<dev:remarks>
											<maml:para>Gets the disk in the drive pointed to by $drive.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VMDriveByController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								</maml:relatedLinks></command:command><command:command><command:details><command:name>Get-VMDisk</command:name><maml:description><maml:para>Returns all disks attached one or more VMs,.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VMDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>The function returns objects with 10 properties 
VMElementname        The display name of the VM
VMGUID               Its GUID (ComputerSystem’s “name” property)
ControllerName       The Element name property of the disk controller object
ControllerInstanceID The WMI Instance ID of the disk controller object 
ControllerID         The logical controller number
DriveName            The element Name of the drive object
DriveInstanceID      The WMI InstanceID for the drive
DriveLun             The Slot occupied by the drive (disk's address property) of the disk object)
DiskPath             The path to the disk (disk's connection property )
DiskName             The Element name property of the disk object
DiskInstnaceID       The WMI Instance ID for the disk.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VMDisk</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true">
									<maml:name>VM</maml:name>
									<maml:description>
										<maml:para>The Virtual Machine(s) to query . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects.
It may be passed via the pipe. 
If not specified al VMs are queried.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name></maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue>"%"</dev:defaultValue>
								</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>snapshot</maml:name><maml:description><maml:para>If the snapshot switch is included disks attached to snapshots are included.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true">
										<maml:name>VM</maml:name>
										<maml:description>
											<maml:para>The Virtual Machine(s) to query . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects.
It may be passed via the pipe. 
If not specified al VMs are queried.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>"%"</dev:defaultValue>
									</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>snapshot</maml:name><maml:description><maml:para>If the snapshot switch is included disks attached to snapshots are included.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>Object</maml:name></dev:type><maml:description><maml:para>Zero or more objects representing the disk(s) on the VM(s).</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>---- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDisk (Select-VM -server "James-2008" -multi) | format-table -autosize -property VMname, DriveName, @{Label="Conected to"; expression={"{0,5} {1}:{2}" –f $_.Controllername.split(" ")[0], $_.ControllerID,$_.DriveLun }} , DiskPath</dev:code>
										<dev:remarks>
											<maml:para>Gets the disks (without snapshot disks) for the chosen VMs on Server James-2008, and returns the result as a table with the VMName, Drive name, the connection path, and the DiskPath.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDisk | foreach {$_.diskpath}</dev:code>
										<dev:remarks>
											<maml:para>Returns a list of disks in use.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 3 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDisk | where {$_.ControllerName -match "^IDE"}</dev:code>
										<dev:remarks>
											<maml:para>Returns a list of disks attached to IDE controllers.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VMDiskController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VMDriveByController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Get-VMDiskByDrive</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Get-VHDInfo</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>

<command:command><command:details><command:name>Get-VMDiskController</command:name><maml:description><maml:para>Returns Disk controllers attached to a VM.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VMDiskController</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Returns MSVM_ResourceAllocationSettingData objects for the disk controller(s). 
The accompanying format.ps1xml file formats MSVM_ResourceAllocationSettingData objects 
to show the VM’s element name, the resource’s Element name, its subtype (Microsoft Emulated IDE Controller or Microsoft Synthetic SCSI controller) and its connection (empty for disk controllers).</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VMDiskController</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true">
									<maml:name>VM</maml:name>
									<maml:description>
										<maml:para>The Virtual Machine(s) to query . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects.
It may be passed via the pipe. 
If not specified al VMs are queried.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name></maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue>"%"</dev:defaultValue>
								</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller. 
If not specified, all controllers of the selected type are returned.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>*</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that only SCSI devices is intended. 
If neither IDE nor SCSI is specified (or both) then both types of controller are returned.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>IDE</maml:name><maml:description><maml:para>If specified indicates that only IDE devices is intended. 
If neither IDE nor SCSI is specified (or both) then both types of controller are returned.</maml:para></maml:description><dev:type><maml:name>Switch </maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true">
										<maml:name>VM</maml:name>
										<maml:description>
											<maml:para>The Virtual Machine(s) to query . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects.
It may be passed via the pipe. 
If not specified al VMs are queried.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>"%"</dev:defaultValue>
									</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller. 
If not specified, all controllers of the selected type are returned.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>*</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that only SCSI devices is intended. 
If neither IDE nor SCSI is specified (or both) then both types of controller are returned.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>IDE</maml:name><maml:description><maml:para>If specified indicates that only IDE devices is intended. 
If neither IDE nor SCSI is specified (or both) then both types of controller are returned.</maml:para></maml:description><dev:type><maml:name>False</maml:name></dev:type><dev:defaultValue>Switch</dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Get-VMDiskcontroller.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>Disk controller(s) attached to the VM(s).</maml:para></maml:description></command:returnValue></command:returnValues>
<maml:alertSet>
									<maml:alert>
										<maml:para>To return the nth SCSI and nth IDE controller BOTH switches must be specified as well as the controller ID.</maml:para>
									</maml:alert>
								</maml:alertSet><command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VM -server James-2008| Get-VMDiskController -IDE -SCSI</dev:code>
										<dev:remarks>
											<maml:para>Returns all the DiskControllers for all the VMs on Server James-2008.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDiskController $Tenby -SCSI -controllerID 0</dev:code>
										<dev:remarks>
											<maml:para>Returns SCSI controller 0 in the VM pointed to by $Tenby.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VMDriveByController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Add-VMScsicontroller</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Get-VMDriveByController</command:name><maml:description><maml:para>Returns the drives attached to a given disk controller.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VMDriveByController</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Returns the drives attached to a given disk controller.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VMDriveByController</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>Controller</maml:name><maml:description><maml:para>The Controller parameter is either a single MSVM_ResourceAllocationSettingData WMI object 
which represents an IDE or SCSI controller or an array which contains these.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="true" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If no LUN is passed, all drives are returned.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>"%"</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>Controller</maml:name><maml:description><maml:para>The Controller parameter is either a single MSVM_ResourceAllocationSettingData WMI object 
which represents an IDE or SCSI controller or an array which contains these.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="true" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If no LUN is passed, all drives are returned.</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>"%"</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>WMI objects representing disk controllers may be piped.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>Drives attached to the controller.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDiskController "Tenby" -server "James-2008" -IDE -controllerID 0 | Get-VMDriveByController</dev:code>
										<dev:remarks>
											<maml:para>Gets IDE disk controller 0 for the VM named “Tenby” on the server named “james-2008” and then gets the Drives attached to it.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 ---- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>$drive=Get-VMDriveByController $controller –lun 0</dev:code>
										<dev:remarks>
											<maml:para>Gets the first disk attached to the Controller specified by $controller and stores the result in $drive.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VMDiskController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VMDiskByDrive</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Get-VMFloppyDisk</command:name><maml:description><maml:para>Returns the floppy disk(S) attached to one or more VMs.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Get</command:verb><command:noun>VMFloppyDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Returns MSVM_ResourceAllocationSettingData objects for the Floppy disk(s). The accompanying format.ps1xml file formats MSVM_ResourceAllocationSettingData objects to show the VM’s element name, the resource’s Element name, its subtype (Microsoft virtual Floppy disk) and its connection (the path to the VFD file).</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Get-VMFloppyDisk</maml:name>
    <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true">
									<maml:name>VM</maml:name>
									<maml:description>
										<maml:para>The Virtual Machine(s) to query . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects.
It may be passed via the pipe. 
If not specified al VMs are queried.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name></maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue>"%"</dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
    <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true">
										<maml:name>VM</maml:name>
										<maml:description>
											<maml:para>The Virtual Machine(s) to query . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects.
It may be passed via the pipe. 
If not specified al VMs are queried.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>"%"</dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Get-VMFloppyDisk.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>wmi </maml:name></dev:type><maml:description><maml:para>Floppy Disk objects.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMFloppyDisk (get-VM -server james-2008) | foreach {$_.connection}  </dev:code>
										<dev:remarks>
											<maml:para>Produces a list of all the VFD files in the floppy drives of the VMs on the server James-2008.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								</command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Add-VMFloppyDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Remove-VMFloppyDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Merge-VHD</command:name><maml:description><maml:para>Merges VHDs (from snapshots).</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Merge</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>If a valid file is provided the function attempts to merge the differencing disk(s)
specified by VHDpaths into the ancestor specified by DestPath.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Merge-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="true"><maml:name>DestPath</maml:name><maml:description><maml:para>The location where the resulting file should be saved.
This can be a string containing the destination path or a script block which is evaluated to provide it.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false"><maml:name>DestPath</maml:name><maml:description><maml:para>The location where the resulting file should be saved.
This can be a string containing the destination path or a script block which is evaluated to provide it.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD resides.
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>If the wait switch is specified the function will display a progress indicator until the job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>New-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Convert-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText> MergeVirtualHardDisk Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136805(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Mount-VHD</command:name><maml:description><maml:para>Mounts a VHD file to make it appear to be a disk in the parent partition.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Mount</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Mounts a VHD file to make it appear to be a disk in the parent partition.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Mount-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Partition</maml:name><maml:description><maml:para>If a partition number is provided it will be assigned a drive letter, 
according to the DriveLetter and No DriveLetter Parameters.</maml:para></maml:description><dev:type><maml:name>Int</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>DriveLetter</maml:name><maml:description><maml:para>If specified , and partition has been passed, 
the specified partition will be assigned the requested drive letter. 
Note an error will occur if a drive letter is specified and multiple VHDs are mounted.</maml:para></maml:description><dev:type><maml:name>Char</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>NoDriveLetter</maml:name><maml:description><maml:para>If specified the requested partition will be assigned no drive letter
If a partition is specified with neither DriveLetter nor NoDriveLetter ,
it will be assigned a free drive letter by the system.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Offline</maml:name><maml:description><maml:para>Specifies the disk is to be mounted offline.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Partition</maml:name><maml:description><maml:para>If a partition number is provided it will be assigned a drive letter, 
according to the DriveLetter and No DriveLetter Parameters.</maml:para></maml:description><dev:type><maml:name>Int</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>DriveLetter</maml:name><maml:description><maml:para>If specified , and partition has been passed, 
the specified partition will be assigned the requested drive letter. 
Note an error will occur if a drive letter is specified and multiple VHDs are mounted.</maml:para></maml:description><dev:type><maml:name>Char</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>NoDriveLetter</maml:name><maml:description><maml:para>If specified the requested partition will be assigned no drive letter
If a partition is specified with neither DriveLetter nor NoDriveLetter ,
it will be assigned a free drive letter by the system.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>Fase</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Offline</maml:name><maml:description><maml:para>Specifies the disk is to be mounted offline.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>dir "$(Get-VHDDefaultPath)\*.VHD" | Mount-VHD –offline</dev:code>
										<dev:remarks>
											<maml:para>Gets all the VHD files in the default folder, and mounts them in an Offline state.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Mount-VHD tenby</dev:code>
										<dev:remarks>
											<maml:para>Mounts tenby.VHD from  the default folder, and brings the disk on line.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 3 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Mount-VHD –path “C:\users\public\documents\hyper-v\Virtual Hard Disks\tenby.VHD” –Partition 2 –letter H</dev:code>
										<dev:remarks>
											<maml:para>Mounts tenby.VHD,  brings the disk on line and assigns drive H: to the Second partition.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>New-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Dismount-VHD</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Mount Method of the MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136811(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>New-Vfd</command:name><maml:description><maml:para>Creates one or more virtual Floppy disk file(s).</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>New</command:verb><command:noun>VF</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Creates one or more virtual Floppy disk file(s).</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>New-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VFDPaths</maml:name><maml:description><maml:para>The path(s) to the VFD file(s) must be specified 
If the .VFD file extension is omitted it will be added and if only a file name is passed the server’s default VHD folder will be assumed (Hyper-V does not have the concept of a default VFD folder).</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        
        
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VFD(S) will be created 
By default "." , the local computer, is used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        
        
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>Indicates that the command should wait until the disk creation job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VFDPaths</maml:name><maml:description><maml:para>The path(s) to the VFD file(s) must be specified 
If the .VFD file extension is omitted it will be added and if only a file name is passed the server’s default VHD folder will be assumed (Hyper-V does not have the concept of a default VFD folder).</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        
        
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VFD(s) will be created 
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        
        
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>Indicates that the command should wait until the disk creation job completes.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name>String</maml:name></dev:type><maml:description><maml:para>Path(s) for the required VFD(s) can be passed via the pipeline.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>FileInfo</maml:name></dev:type><maml:description><maml:para>A fie info object for the newly created VFD.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>New-VFD "Floppy.VFD"</dev:code>
										<dev:remarks>
											<maml:para> Creates a new floppy disk named FLOPPY.VFD in the default folder.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								</command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Add-VMFlopyDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>CreateVirtualFloppyDisk Method of the MsVM_ImageManagementService Class on MSDN </maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136784(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command><command:command><command:details><command:name>New-VHD</command:name><maml:description><maml:para>Creates one or more Virtual Hard Disk file(s).</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>New</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Creates one or more Virtual Hard Disk file(s).</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>New-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>The path(s) to the VHD file(s) must be specified. 
If the .VHD file extension is omitted it will be added 
and if only a file name is passed the server’s default folder
 (not the current working directory) will be assumed.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Size</maml:name><maml:description><maml:para>The Size of the disk in bytes. If not specified 127GB is used, as in the GUI.</maml:para></maml:description><dev:type><maml:name>Int64</maml:name></dev:type><dev:defaultValue>127GB</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>ParentVHD</maml:name><maml:description><maml:para>To create a differencing disk the parent disk's path must be specified,
in which case and the size and fixed parameters are ignored. 
This parameter has aliases of ParentDiskPath and ParentPath, 
and can be a string or an object which can be converted to a string;
if a scriptblock is specified it will be evaluated.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD(s) will be created 
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false"><maml:name>Fixed</maml:name><maml:description><maml:para>Indicates a fixed disk is required. 
If neither ParentVHD nor fixed is specified a dynamic VHD will be created.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>Indicates that the command should wait until the disk creation job completes.
This can take several minutes in the case of large fixed disks.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>The path(s) to the VHD file(s) must be specified. 
If the .VHD file extension is omitted it will be added 
and if only a file name is passed the server’s default folder
(not the current working directory) will be assumed.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Size</maml:name><maml:description><maml:para>The Size of the disk in bytes. If not specified 127GB is used, as in the GUI.</maml:para></maml:description><dev:type><maml:name>Int64</maml:name></dev:type><dev:defaultValue>127 GB</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>parentVHD</maml:name><maml:description><maml:para>To create a differencing disk the parent disk's path must be specified,
in which case and the size and fixed parameters are ignored. 
This parameter has aliases of ParentDiskPath and ParentPath, 
and can be a string or an object which can be converted to a string;
if a scriptblock is specified it will be evaluated.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD(s) will be created 
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false"><maml:name>Fixed</maml:name><maml:description><maml:para>Indicates a fixed disk is required. 
If neither ParentVHD nor fixed is specified a dynamic VHD will be created.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false"><maml:name>Wait</maml:name><maml:description><maml:para>Indicates that the command should wait until the disk creation job completes.
This can take several minutes in the case of large fixed disks.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name>String</maml:name></dev:type><maml:description><maml:para>Path(s) for the required VHD(s) can be passed via the pipeline.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>FileInfo</maml:name></dev:type><maml:description><maml:para>A fie info object for the newly created VHD.</maml:para></maml:description></command:returnValue></command:returnValues>
<maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Add-VMDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VMDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Add-VMNewHardDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText> MsVM_ImageManagementService Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136845(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Remove-VMdrive</command:name><maml:description><maml:para>Removes a drive and/or the disk image in it from a VM.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Remove</command:verb><command:noun>VMdrive</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Removes a drive and/or the disk image in it from a VM.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Path</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s)   . This may be a WMI object representing a VM, a string object containing the name of a VM (or a wildcard which matches multiple VMs), or an array containing a mixture of such objects. It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk. controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended. 
If not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Diskonly</maml:name><maml:description><maml:para>Specifies that the disk should be removed from the drive, 
but the drive should be retained.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the default is to request confirmation
 (unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        
        
        
    </command:syntaxItem><command:syntaxItem><maml:name>Drive</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify. 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
									<maml:name>DriveRasd</maml:name>
									<maml:description>
										<maml:para>A WMI object containing the resource allocation settings data for the drive
to be removed.
This can be specified instead of identifying VM, controller and LUN.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name>WMI</maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue></dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Diskonly</maml:name><maml:description><maml:para>Specifies that the disk should be removed from the drive, 
but the drive should be retained.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the  default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name></maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        
        
        
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify. 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended. 
If not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Diskonly</maml:name><maml:description><maml:para>Specifies that the disk should be removed from the drive, but the drive
should be retained.</maml:para></maml:description><dev:type><maml:name>Switch</maml:name></dev:type><dev:defaultValue>False</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
										<maml:name>DriveRasd</maml:name>
										<maml:description>
											<maml:para>A WMI object containing the resource allocation settings data for the drive
to be removed.
This can be specified instead of identifying VM, controller and LUN.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>WMI</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
        
        
        
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Remove-VMFloppyDisk.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>ReturnCode</maml:name></dev:type><maml:description><maml:para>A enum indicating the success or failure of the removal.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Remove-VMdrive "Tenby" 0 1 -SCSI -DiskOnly -Server "James-2008" </dev:code>
										<dev:remarks>
											<maml:para>Removes the disk mounted in Scsi Controller 0, Lun 1 on the VM named tenby on the server named james-2008.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Remove-VMdrive $Core 1 1 -IDE </dev:code>
										<dev:remarks>
											<maml:para>Removes the disk drive and any associated disk from IDE controller 1, Lun 1 on
the VM point to by $core.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Remove-VMdrive "Tenby" 0 1 -SCSI -DiskOnly -Server "James-2008" </dev:code>
										<dev:remarks>
											<maml:para>Remove the Disk from the drive at device 1 of SCSI controller 0 of the VM named "Tenby" on the Server "James-2008".</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Remove-VMdrive $Core 1 1 -IDE </dev:code>
										<dev:remarks>
											<maml:para>Remove the Disk and drive at device 1 of IDE controller 1 in the VM pointed to by $core.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example><command:example>
										<maml:title>----- Example 3 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>get-VMdisk | where {$_.diskpath -eq "C:\Windows\system32\VMguest.iso"} | foreach {remove-VMDrive -diskonly -VM $_.VMelementName -c $_.controllerId -L $_.driveLun}</dev:code>
										<dev:remarks>
											<maml:para>Find all instances of the guest extensions ISO and remove them.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Add-VMDrive</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Get-VMDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Get-VMDiskController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink><maml:navigationLink>
										<maml:linkText>Get-VMDriveByController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Remove-VMFloppyDisk</command:name><maml:description><maml:para>Removes floppy(s) disk attached to one or more VM(s).</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Remove</command:verb><command:noun>VMFloppyDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Removes any floppy disk attached to the VM(s) provided. 
If no Floppy is present no error occurs.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Remove-VMFloppyDisk</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s)  to modify . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the  default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE.
 It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the  default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Remove-VMFloppyDisk.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>ReturnCode</maml:name></dev:type><maml:description><maml:para>An Enum indicating the Success or failure of the removal.</maml:para></maml:description></command:returnValue></command:returnValues>
<maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VMFloppyDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Add-VMFloppyDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Remove-VMSCSIcontroller</command:name><maml:description><maml:para>Removes a SCSI controller from one or more virtual Machine(s).</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Remove</command:verb><command:noun>VMSCSIcontroller</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Removes a SCSI controller from one or more virtual Machine(s).</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Remove-VMSCSIcontroller</maml:name>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the  default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="true" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><command:parameterValue required="false" variableLength=""></command:parameterValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.
This command has a "ConfirmImpact" level of High: so the default is to request confirmation 
(unless the $confirmPreference variable is set to "none").</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Virtual Machines can be piped into Remove-VMSCSIController.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>ReturnCode</maml:name></dev:type><maml:description><maml:para>An enum indicating the success or failure of the removal.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 ----- </maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Remove-VMSCSIController $tenby 0</dev:code>
										<dev:remarks>
											<maml:para>Remove the first VMBus SCSI Controller to VM whose info is in $tenby.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								</command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Get-VMDiskcontroller</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText>Add-VMSCSIController</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command>
									<command:details>
										<command:name>Select-ClusterSharedVolume</command:name>
										<maml:description>
											<maml:para>Allows the user to select a clustered shared volume from a list.</maml:para>
										</maml:description>
										<maml:copyright>
											<maml:para>(c) Microsoft Corporation 2009.</maml:para>
										</maml:copyright>
										<command:verb>Select</command:verb>
										<command:noun>CluseterSharedVolume</command:noun>
										<dev:version>2.00</dev:version>
									</command:details>
									<maml:description>
										<maml:para>Allows the user to select a clustered shared volume from a list.
If cluster functions are not loaded, returns an error.</maml:para>
									</maml:description>
									<command:syntax>
										<command:syntaxItem>
											<maml:name>Select-CluseterSharedVolume</maml:name>
											<command:parameter globbing="false" variableLength="" position="0" required="false" pipelineInput="false">
												<maml:name>Server</maml:name>
												<maml:description>
													<maml:para>Specifies the Hyper-V server on which the cluster shared volume resides.</maml:para>
												</maml:description>
												<command:parameterValue required="false" variableLength=""></command:parameterValue>
												<dev:type>
													<maml:name></maml:name>
													<maml:uri></maml:uri>
													<maml:description>
														<maml:para></maml:para>
													</maml:description>
												</dev:type>
												<dev:defaultValue>"."</dev:defaultValue>
											</command:parameter>
										</command:syntaxItem>
									</command:syntax>
									<command:parameters>
										<command:parameter globbing="false" variableLength="" position="0" required="false" pipelineInput="false">
											<maml:name>Server</maml:name>
											<maml:description>
												<maml:para>Specifies the Hyper-V server on which the cluster shared volume resides.</maml:para>
											</maml:description>
											<command:parameterValue required="false" variableLength=""></command:parameterValue>
											<dev:type>
												<maml:name></maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<dev:defaultValue>"."</dev:defaultValue>
										</command:parameter>
									</command:parameters>
									<command:inputTypes>
										<command:inputType>
											<dev:type>
												<maml:name></maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</command:inputType>
									</command:inputTypes>
									<command:returnValues>
										<command:returnValue>
											<dev:type>
												<maml:name></maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</command:returnValue>
									</command:returnValues>
									<maml:alertSet>
										<maml:title></maml:title>
										
									</maml:alertSet>
									<command:examples>
										<command:example>
											<maml:title>----- Example ---- </maml:title>
											<maml:introduction>
												<maml:para></maml:para>
											</maml:introduction>
											<dev:code>$path = (Select-ClusterSharedVolume).volname ; new-VM -name "Ha" -path $path</dev:code>
											<dev:remarks>
												<maml:para>Gets the path a of a user determined Cluster shared volume and uses it as the data directory for a new Virtual Machine.</maml:para>
											</dev:remarks>
											<command:commandLines>
												<command:commandLine>
													<command:commandText></command:commandText>
												</command:commandLine>
											</command:commandLines>
										</command:example>
									</command:examples>
									<maml:relatedLinks>
										<maml:navigationLink>
											<maml:linkText>Get-ClusterSharedVolume </maml:linkText>
											<maml:uri></maml:uri>
										</maml:navigationLink>
									</maml:relatedLinks>
								</command:command><command:command><command:details><command:name>Select-VMPhysicalDisk</command:name><maml:description><maml:para>Allows the user to make a choice between disks to become a pass-through disk.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Select</command:verb><command:noun>VMPhysicalDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Allows the user to make a choice between disks to become a pass-through disk.
If more than one disk is available a menu will be displayed.</maml:para></maml:description>
    <command:syntax><command:syntaxItem>
									<maml:name></maml:name>
									<command:parameter globbing="false" variableLength="" position="0" required="false" pipelineInput="false">
										<maml:name>Server</maml:name>
										<maml:description>
											<maml:para>Specifies the Hyper-V server on which a the physical disk will be sought.
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>String</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>"."</dev:defaultValue>
									</command:parameter>
								</command:syntaxItem></command:syntax>
    <command:parameters>
    <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
										<maml:name>Server</maml:name>
										<maml:description>
											<maml:para>Specifies the Hyper-V server on which a the physical disk will be sought.
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>String</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>"."</dev:defaultValue>
									</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>WMI</maml:name></dev:type><maml:description><maml:para>The MsVM_DiskDrive representing the selected disk.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									
								<command:example>
										<maml:title>----- Example -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Add-VMPassThrough $VM  0  1  (Select-VMPhysicaldisk)</dev:code>
										<dev:remarks>
											<maml:para>If there are no physical disks available to Hyper-v (i.e. connected and marked offline), this will do nothing. if there is exactly one disk that is used.
If there is more than one the user is prompted to select one
The physical disk is bound to IDE controller 0 , Lun 1 on the VM held in $VM.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples><maml:relatedLinks>
									<maml:navigationLink>
										<maml:linkText>Add-VMPassthroughDisk</maml:linkText>
										<maml:uri></maml:uri>
									</maml:navigationLink>
								<maml:navigationLink>
										<maml:linkText> MsVM_ResourcePool Class on MSDN</maml:linkText>
										<maml:uri>http://msdn.microsoft.com/en-us/library/cc136879(VS.85).aspx</maml:uri>
									</maml:navigationLink></maml:relatedLinks></command:command>
<command:command><command:details><command:name>Set-VMDisk</command:name><maml:description><maml:para>Changes the Disk mounted in a Drive on a VM.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Set</command:verb><command:noun>VMDisk</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Changes the Disk mounted in a Drive on a VM.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Path</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller.
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified 0 is used.
If no drive exists at the specified location, it will be created.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The path to the new image to mount in the drive.
If a script block is passed it will be evaluated to determine the path.</maml:para></maml:description><dev:type><maml:name>String</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended, if not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem><command:syntaxItem><maml:name>Drive</maml:name>
        
        
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="false">
<maml:name>DriveRASD</maml:name><maml:description><maml:para>A resource allocation setting Data object for the drive to be modified. 
This can be used instead of specifying VM, controller and Lun.</maml:para></maml:description>
<dev:type><maml:name>System.Management.ManagementObject</maml:name></dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false"><maml:name>Path</maml:name><maml:description><maml:para>The path to the new image to mount in the drive.
If a script block is passed it will be evaluated to determine the path.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        
        
    <command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="3" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="false"><maml:name>VM</maml:name><maml:description><maml:para>The Virtual Machine(s) to modify . 
This may be a WMI object representing a VM, 
a string object containing the name of a VM (or a wildcard which matches multiple VMs), 
or an array containing a mixture of such objects. 
It may be passed via the pipe.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="true" pipelineInput="false">
<maml:name>ControllerID</maml:name><maml:description><maml:para>The Zero-based ID of the intended disk controller .
If not specified 0 is used.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="2" required="true" pipelineInput="false">
<maml:name>Lun</maml:name><maml:description><maml:para>The Zero-based Logical Unit number which identifies a drive on a disk controller.
If not specified 0 is used.
If no drive exists at the specified location, it will be created.</maml:para></maml:description>
<dev:type><maml:name>Int</maml:name></dev:type>
<dev:defaultValue>0</dev:defaultValue>
</command:parameter>
        <command:parameter globbing="false" variableLength="" position="3" required="true" pipelineInput="false"><maml:name>path</maml:name><maml:description><maml:para>The path to the new image to mount in the drive.
If a script block is passed it will be evaluated to determine the path.</maml:para></maml:description><dev:type><maml:name></maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="4" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which a named Virtual Machine resides.
By default "." , the local computer, is used. 
An array of server names may be passed but wildcards can not be used.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="5" required="false" pipelineInput="false">
<maml:name>SCSI</maml:name><maml:description><maml:para>If specified indicates that a SCSI device is intended.
If not specified IDE is used.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue></command:parameter>
    <command:parameter globbing="false" variableLength="" position="6" required="false" pipelineInput="false">
										<maml:name>DriveRASD</maml:name>
										<maml:description>
											<maml:para>A resource allocation setting Data object for the drive to be modified. 
This can be used instead of specifying VM, controller and Lun.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name></maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue></dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="7" required="false" pipelineInput="false">
<maml:name>PSC</maml:name><maml:description><maml:para>THIS PARAMETER SHOULD NEVER BE PASSED FROM THE COMMAND LINE. 
It is used to ensure correct handling of -WhatIf, -confirm, -verbose etc., with nested and recursive calls to the command.</maml:para></maml:description>
</command:parameter><command:parameter globbing="false" variableLength="" position="8" required="false" pipelineInput="false">
<maml:name>Force</maml:name><maml:description><maml:para>Ensures that the user is not prompted before the action is carried out.</maml:para></maml:description>
<dev:type><maml:name>Switch</maml:name></dev:type>
<dev:defaultValue>False</dev:defaultValue>
</command:parameter></command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para></maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Set-VMDisk Tenby 0 1 (Get-WmiObject -Query "Select * From win32_cdromdrive Where ID='D:' " ).deviceID</dev:code>
										<dev:remarks>
											<maml:para>Sets the DVD on controller 0, device 1 for the VM named "Tenby"
 on the local Server to point to physical drive D: on the host.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Set-VMDisk $Core 0 0 "\\?\Volume{d1f72a03-d43a-11dc-8bf1-806e6f6e6963}\Virtual Hard Disks\Core.VHD"</dev:code>
										<dev:remarks>
											<maml:para>Sets the Disk on controller 0, device 0 of the VM pointed to by $core 
to Core.VHD using GUID (not drive letter) notation.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command><command:details><command:name>Test-VHD</command:name><maml:description><maml:para>Tests the working state of a disk - for example if its parent can be found.</maml:para></maml:description><maml:copyright><maml:para>(c) Microsoft Corporation 2009.</maml:para></maml:copyright><command:verb>Test</command:verb><command:noun>VHD</command:noun><dev:version>2.00</dev:version></command:details><maml:description><maml:para>Tests the working state of a disk - for example if its parent can be found.</maml:para></maml:description>
    <command:syntax><command:syntaxItem><maml:name>Test-VHD</maml:name>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD file resides.
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name>String</maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    </command:syntaxItem></command:syntax>
    <command:parameters>
        <command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="true"><maml:name>VHDPaths</maml:name><maml:description><maml:para>A string which contains the name of a VHD file 
or an array which contains these. 
If no VHDPath is passed as a parameter, the function looks for input to be piped to it. 
If an object is piped, the command will look for Fullname, Path or Diskpath properties, in that order, 
to use as the path. These names may also be used as aliases for -Path.
If the .VHD file extension is omitted it will be added
and if the path only contains a file name then the server’s default VHD folder,
(not the current working directory) will be assumed.
When the command is run against the local Server, wildcards and relative paths will be expanded.</maml:para></maml:description><dev:type><maml:name>String[]</maml:name></dev:type><dev:defaultValue></dev:defaultValue></command:parameter>
        <command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false"><maml:name>Server</maml:name><maml:description><maml:para>Specifies the Hyper-V server on which the VHD file resides.
By default "." , the local computer, is used. 
Only a single server may be specified.</maml:para></maml:description><dev:type><maml:name></maml:name><maml:uri></maml:uri><maml:description><maml:para></maml:para></maml:description></dev:type><dev:defaultValue>"."</dev:defaultValue></command:parameter>
    </command:parameters>
<command:inputTypes><command:inputType><dev:type><maml:name></maml:name></dev:type><maml:description><maml:para>Disk paths may be piped into Test-VHD.</maml:para></maml:description></command:inputType></command:inputTypes>
<command:returnValues><command:returnValue><dev:type><maml:name>Boolean</maml:name></dev:type><maml:description><maml:para>True of the disk is OK.</maml:para></maml:description></command:returnValue></command:returnValues>
<command:examples>
									<command:example>
										<maml:title>----- Example 1 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>dir "$(Get-VHDDefaultPath)\*.VHD" | Test-VHD</dev:code>
										<dev:remarks>
											<maml:para>Gets all the VHD files in the default folder and checks them.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example>
								<command:example>
										<maml:title>----- Example 2 -----</maml:title>
										<maml:introduction>
											<maml:para></maml:para>
										</maml:introduction>
										<dev:code>Get-VMDisk | %{$_.DiskPath} | where {$_.endswith(".VHD")} | Test-VHD</dev:code>
										<dev:remarks>
											<maml:para>Gets all disk on the VMs and validates them.</maml:para>
										</dev:remarks>
										<command:commandLines>
											<command:commandLine>
												<command:commandText></command:commandText>
											</command:commandLine>
										</command:commandLines>
									</command:example></command:examples></command:command>
<command:command>
									<command:details>
										<command:name>Wait-ForDisk</command:name>
										<maml:description>
											<maml:para>Waits for disk to come on line.</maml:para>
										</maml:description>
										<maml:copyright>
											<maml:para>(c) Microsoft Corporation 2009.</maml:para>
										</maml:copyright>
										<command:verb></command:verb>
										<command:noun></command:noun>
										<dev:version>2.00</dev:version>
									</command:details>
									<maml:description>
										<maml:para>Waits for a predefined time to see if a Win32_logicalDisk WMI object
can be found with a given drive letter.</maml:para>
									</maml:description>
									<command:syntax>
										<command:syntaxItem>
											<maml:name>Wait-ForDisk</maml:name>
											<command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="false">
												<maml:name>MountPoint</maml:name>
												<maml:description>
													<maml:para>The drive letter being sought. 
If the trailing colon is omitted, the command will add it.</maml:para>
												</maml:description>
												<command:parameterValue required="false" variableLength=""></command:parameterValue>
												<dev:type>
													<maml:name>String</maml:name>
													<maml:uri></maml:uri>
													<maml:description>
														<maml:para></maml:para>
													</maml:description>
												</dev:type>
												<dev:defaultValue></dev:defaultValue>
											</command:parameter>
										<command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
									<maml:name>Attempts</maml:name>
									<maml:description>
										<maml:para>The number of times to look for the logical disk object before returning false.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name>int</maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue>10</dev:defaultValue>
								</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
									<maml:name>MSPause</maml:name>
									<maml:description>
										<maml:para>The number of milliseconds to pause between attempts.</maml:para>
									</maml:description>
									<command:parameterValue required="false" variableLength=""></command:parameterValue>
									<dev:type>
										<maml:name>int</maml:name>
										<maml:uri></maml:uri>
										<maml:description>
											<maml:para></maml:para>
										</maml:description>
									</dev:type>
									<dev:defaultValue>1000</dev:defaultValue>
								</command:parameter></command:syntaxItem>
									</command:syntax>
									<command:parameters>
										<command:parameter globbing="false" variableLength="" position="0" required="true" pipelineInput="false">
											<maml:name>MountPoint</maml:name>
											<maml:description>
												<maml:para>The drive letter being sought. If the trailing colon is omitted, 
the command will add it.</maml:para>
											</maml:description>
											<command:parameterValue required="false" variableLength=""></command:parameterValue>
											<dev:type>
												<maml:name>String</maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<dev:defaultValue></dev:defaultValue>
										</command:parameter>
									<command:parameter globbing="false" variableLength="" position="1" required="false" pipelineInput="false">
										<maml:name>Attempts</maml:name>
										<maml:description>
											<maml:para>The number of times to look for the logical disk object before returning false.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>Int</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>10</dev:defaultValue>
									</command:parameter><command:parameter globbing="false" variableLength="" position="2" required="false" pipelineInput="false">
										<maml:name>MSpause</maml:name>
										<maml:description>
											<maml:para>The number of milliseconds to pause between attempts.</maml:para>
										</maml:description>
										<command:parameterValue required="false" variableLength=""></command:parameterValue>
										<dev:type>
											<maml:name>Int</maml:name>
											<maml:uri></maml:uri>
											<maml:description>
												<maml:para></maml:para>
											</maml:description>
										</dev:type>
										<dev:defaultValue>1000</dev:defaultValue>
									</command:parameter></command:parameters>
									<command:inputTypes>
										<command:inputType>
											<dev:type>
												<maml:name>String</maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<maml:description>
												<maml:para>The drive letter associated with the disk.</maml:para>
											</maml:description>
										</command:inputType>
									</command:inputTypes>
									<command:returnValues>
										<command:returnValue>
											<dev:type>
												<maml:name>Boolean</maml:name>
												<maml:uri></maml:uri>
												<maml:description>
													<maml:para></maml:para>
												</maml:description>
											</dev:type>
											<maml:description>
												<maml:para>Whether it was found.</maml:para>
											</maml:description>
										</command:returnValue>
									</command:returnValues>
									<maml:alertSet>
										<maml:title></maml:title>
										
									</maml:alertSet>
									<command:examples>
										
									</command:examples>
									<maml:relatedLinks>
										
									</maml:relatedLinks>
								</command:command></helpItems>